package me.boot.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import me.base.commom.model.dto.BaseEntityDTO;
import me.boot.common.data.enums.ResourceType;

/**
 * <p>
 *
 * </p>
 *
 * @author Sylar
 * @since 2021-11-24
 */
@Getter
@Setter
@ApiModel(value = "SysResourceDTO 对象", description = "")
public class SysResourceDTO extends BaseEntityDTO<Long> {

    @ApiModelProperty("父级id")
    private Long parentId;

    @ApiModelProperty("资源类型")
    private ResourceType type;

    @ApiModelProperty("前端图标")
    private String icon;

    @ApiModelProperty("前端code")
    private String frontCode;

    @ApiModelProperty("实体类型全名")
    private String entityName;

    @ApiModelProperty("资源路径uri")
    private String apiUri;

    @ApiModelProperty("先决资源id列表")
    private String premiseIds;

}
